From: Simon McVittie Date: Sun, 31 Dec 2023 15:46:49 +0000 (+0000) Subject: d/rules: Fix autoreconf during nodoc builds by providing a stub gtkdocize X-Git-Tag: archive/raspbian/2023.8-2+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=65a5b13c63e378b0b5f0d8157c5ca78f6c66bda1;p=ostree.git d/rules: Fix autoreconf during nodoc builds by providing a stub gtkdocize --- diff --git a/debian/rules b/debian/rules index c9672042..6095fef4 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,11 @@ binaries := $(shell dh_listpackages) dh $@ --with=gir override_dh_autoreconf: - env NOCONFIGURE=1 dh_autoreconf ./autogen.sh + mkdir -p debian/tmp-path +ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) + ln -fns /bin/true debian/tmp-path/gtkdocize +endif + env NOCONFIGURE=1 PATH=$(CURDIR)/debian/tmp-path:$(PATH) dh_autoreconf ./autogen.sh configure_options = \ --enable-installed-tests \